
<script type="text/javascript" src="./js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="./js/calendar.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	var cal = new Calendar("testDiv",function(date){
		$("#testClickDiv").html(date);
	});
	cal.showAndSelectDate(new Date());
	var cal2 = new Calendar("testDiv2",function(date){
		alert("clicked:"+date);
	});
	//cal2.show("2011-2"); //2011-10
	cal2.show("2011-2-1");
});
var d = new Date();
//alert(d.equalDay(new Date()));
</script>
<div id="testDiv"></div>
<div id="testClickDiv" style="color:red"></div>
<br><br><br>
<div id="testDiv2" style="width:30%"></div>